<template>
    <yd-tabbar slot="tabbar" :fixed="true">
            <yd-tabbar-item title="首页" link="/main" :active="$route.path=='/main'">
                <yd-icon name="home" slot="icon"></yd-icon>
            </yd-tabbar-item>
            <yd-tabbar-item title="购物车" link="/shopping" :active="$route.path=='/shopping'">
                <yd-icon name="shopcart-outline" slot="icon"></yd-icon>
            </yd-tabbar-item>
            <yd-tabbar-item title="个人中心" link="/my" :active="$route.path=='/my'">
                <yd-icon name="ucenter-outline" slot="icon"></yd-icon>
            </yd-tabbar-item>
        </yd-tabbar>
</template>

<script>
    export default {
      name:'tabbar',
      data(){
          return {

          }
      }
    }
</script>
